package com.petHis.project.system.records.mapper;

import java.util.List;
import com.petHis.project.system.records.domain.MedicalRecords;

/**
 * 诊疗记录Mapper接口
 * 
 * @author petHis
 * @date 2025-02-16
 */
public interface MedicalRecordsMapper 
{
    /**
     * 查询诊疗记录
     * 
     * @param recordId 诊疗记录主键
     * @return 诊疗记录
     */
    public MedicalRecords selectMedicalRecordsByRecordId(Long recordId);

    /**
     * 查询诊疗记录列表
     * 
     * @param medicalRecords 诊疗记录
     * @return 诊疗记录集合
     */
    public List<MedicalRecords> selectMedicalRecordsList(MedicalRecords medicalRecords);

    /**
     * 新增诊疗记录
     * 
     * @param medicalRecords 诊疗记录
     * @return 结果
     */
    public int insertMedicalRecords(MedicalRecords medicalRecords);

    /**
     * 修改诊疗记录
     * 
     * @param medicalRecords 诊疗记录
     * @return 结果
     */
    public int updateMedicalRecords(MedicalRecords medicalRecords);

    /**
     * 删除诊疗记录
     * 
     * @param recordId 诊疗记录主键
     * @return 结果
     */
    public int deleteMedicalRecordsByRecordId(Long recordId);

    /**
     * 批量删除诊疗记录
     * 
     * @param recordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMedicalRecordsByRecordIds(String[] recordIds);
}
